procedure ExitToShell;

Exits MacPhase to the Mac OS.

Also see:  Exit  Quit